package com.gitee.hermer.engine.jars.dependent.disconf;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.aspectj.lang.annotation.Pointcut;

import com.baidu.disconf.client.common.annotations.DisconfFileItem;
import com.baidu.disconf.client.common.annotations.DisconfItem;

@Aspect
public class DisconfFileGetSetAspect {
	
	@Pointcut("execution(* @annotation(ann)")  
    private void anyMethod(DisconfFileItem ann){}
      
    @Before("anyMethod() && args(name)")  
    public void doAccessCheck(String name){  
        System.out.println(name);  
        System.out.println("前置通知");  
    }  
      

}
